package com.clouddisk.file.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;

@Data
@Schema(description = "文件夹创建请求")
public class FolderCreateDTO {

    @NotNull(message = "父文件夹ID不能为空")
    @Schema(description = "父文件夹ID")
    private Long parentId;

    @NotBlank(message = "文件夹名不能为空")
    @Schema(description = "文件夹名")
    private String folderName;
} 